import { ClientOptions, Transport } from '@nestjs/microservices';
import { join } from 'path';
import * as process from 'process';

export  const  emailGrpcClientOptions:ClientOptions = {
  transport: Transport.GRPC,
  options: {
    package: 'email',
    protoPath: join(process.cwd(), 'proto/email/email.proto'),
    url: 'email-service:50056',
  },
}